package datastructure.tree;

import java.util.List;

/**
 * @Description:
 * @Author Ammar
 * @Create 2023/3/30 19:59
 */
public class Node {
    public int val;
    public List<Node> children;
    public Node next;
    public Node random;

    public Node() {}

    public Node(int _val) {
        val = _val;
    }

    public Node(int _val, List<Node> _children) {
        val = _val;
        children = _children;
    }

    @Override
    public String toString() {
        return String.valueOf(val);
    }
};
